/**************************
* @Summary 第二题结构定义
* @Author 20009200303 赵传博
* @Date 2022/3/31
*****************************/

#ifndef EX2_TREE_H
#define EX2_TREE_H
#include "common.h"


struct Tnode{
    string word;
    int count;
    Tnode* left;
    Tnode* right;
};

void insertNode(string word, Tnode* root);
void printTrees(Tnode* root);
void printTreesInOrder(Tnode* root);


#endif //EX2_TREE_H
